<table class="table table-bordered" id="course-set-price-table" data-toggle="datagrid" data-options="{
    tableWidth: '100%',
    height: '100%',
    gridTitle : '设置工资',
    showToolbar: true,
    local: 'local',
    data: {!! $courseListJson !!},
    linenumberAll: false,
    showLinenumber: false,
    filterThead: false,
    showEditbtnscol: '操作',
    customEditbtns:{ position:'replace',buttons:editButton,width:0},
    editUrl: '/admin/order/courseSetPrice',
    editCallback:editCallbackCurrent,
    delUrl:'',
    delPK:'id',
    delConfirm: true,
    paging:false,
}">
    <thead>
    <tr>
        <th data-options="{name:'id',width:50,align:'center',edit:false}">编号</th>
        <th data-options="{name:'truename',width:150,align:'center',edit:false}">姓名</th>
        <th data-options="{name:'price',width:150,align:'center'}">计件工资(单件)</th>
    </tr>
    </thead>
</table>
<script type="text/javascript">
    function editCallbackCurrent()
    {
        BJUI.dialog('refresh', 'order-coursePrice-dialog')
    }
</script>